package com.rede.didiok.file;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.oas.annotations.EnableOpenApi;

@EnableTransactionManagement
@SpringBootApplication
@EnableOpenApi
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.rede.didiok.file.security.feign", "com.rede.didiok.common.feign"})
@ComponentScan(basePackages = {
//        "com.plumelog",
		"com.rede.didiok.common.annotion",
		"com.rede.didiok.common.config.feign",
		"com.rede.didiok.common.handler",
		"com.rede.didiok.common.config.redis",
		"com.rede.didiok.common.utils",
		"com.rede.didiok.file"})
public class DidiokFileApplication {

	public static void main(String[] args) {
		SpringApplication.run(DidiokFileApplication.class, args);
	}

}
